<h2>Login</h2>

<?=form_open('auth/login')?>
<fieldset>
    <legend>Login form</legend>
    
    <?=validation_errors()?>
    
    <p>
        <label>Username</label>
        <input type="text" name="username" value="<?=set_value('username')?>" />
    </p>
    
    <p>
        <label>Password</label>
        <input type="text" name="password" />
    </p>
    
    <p>
        <input type="submit" name="btnLogin" value="Log In" />
    </p>
</fieldset>
<?=form_close()?>